using System;
using System.Collections.Generic;
using System.Text;

using System.Data;
using System.Data.Common;
using Husb.Data;
using Husb.DataUtil;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Caching;

using CentralOffice.MyTable.Data;
using EmailBoxTable = CentralOffice.MyTable.Data.EmailDataSet.EmailBoxDataTable;
using EmailBoxRow = CentralOffice.MyTable.Data.EmailDataSet.EmailBoxRow;
namespace CentralOffice.MyTable.DataAccess
{
    public class EmailBoxAdapter : DataAccessAdapter<MyTable.Data.EmailDataSet, EmailBoxTable, EmailBoxRow>
    {
        public EmailBoxAdapter()
        {
            this.TableName = "EmailBox";
            DeleteStoredProc = "EmailBox_DeleteEmailBox";

            GetAllStoredProc = "EmailBox_SelectEmailBoxAll";
            UpdateStoredProc = "EmailBox_UpdateEmailBox";
            FindStoredProc = "EmailBox_SelectEmailBoxDynamic";
            GetByIdStoredProc = "EmailBox_SelectEmailBox";
        }

        protected override void PopulateInsertParameters(Microsoft.Practices.EnterpriseLibrary.Data.Database db, System.Data.Common.DbCommand cmd)
        {
            throw new Exception("The method or operation is not implemented.");
        }
    }
}
